/*
FLAT UI Flavored Adminer Theme by M. Mahbubur Rahman (mahbub@mahbubblog.com) 
Screenshot : http://d.pr/i/cznH
Based on work by : Lukáš Brandejs   
https://raw.github.com/vrana/adminer/master/designs/ng9/adminer.css
*/
/*
 * add at last;
 * https://github.com/vrana/adminer
 * 
 * adminer.php :allow in iframe(  if($b->headers()){header("X-Frame-Options: deny");header("X-XSS-Protection: 0");} )
 */
::-webkit-scrollbar-track-piece{
    background-color: rgba(180,180,180,0.06);
    border-radius:3px;
}
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background-color:rgba(180,180,180,0.2);;border-radius: 12px;
    background-clip:padding-box;border:1px solid rgba(180,180,180,0.4);min-height: 28px;}
::-webkit-scrollbar-thumb:hover{background-color:rgba(180,180,180,0.4);border:1px solid rgba(180,180,180,0.7);}


* {margin:0px;padding:0px;}
body{
    font: 13px/1.7 'Source Sans Pro',"Helvetica Neue", "Microsoft Yahei", "微软雅黑", STXihei, "WenQuanYi Micro Hei","Proxima Nova Rg","Droid Sans",Arial,Helvetica, sans-serif;
    color:#555;

}



body{
    background:url(); /* https://github.com/pappu687/adminer-theme/blob/master/adminer-bg.png */
}

a,a:visited {
    color:#2980b9;
    text-decoration:none;
    padding:3px 1px;
}
#dbs span{
color:white;
}

#content table thead span, #content table thead a {
    font-weight:bold;
    color:#FFF;
    text-shadow:0px 01px 0px #000;
}

#content table thead a:hover {
    background:none;
    text-decoration:underline;
    color:black;
}

a:hover {
    text-decoration:underline;
}

h1 {
    font-size:1.9em;
    font-weight:normal;
    background:white;
    color:#1e5eb6;
    border-bottom:1px solid rgb(85, 112, 139);
    padding:20px;
    margin:0px;
}

#menu h1 {
    padding:0px 0px 5px 20px;
    background:none;
}

h2,h3 {
    font-size:1.7em;
    font-weight:bold;
    background:transparent;
    color:#34495e;
    border-bottom:1px solid #f4f4f4;
    padding:10px 0px;
    margin:0px;
}

fieldset {
    padding:5px;
    border:1px solid #DEDEDE;
}
input,select,textarea {
    border:1px solid #e5e5e5;
    margin:1px;
    padding:0px;
}
select{
    padding:7px 4px;
    background-color:#FFFFFF;
}

input[type=submit] {
    color:white;
    background:#27ae60;
    padding:4px 10px;
    cursor:pointer;
    border:0px solid;
}

input[type=submit]:hover{
    background:#2c3e50;
}

input[type=checkbox]{
    margin-right:5px;
}

input[type=image] {
    border:1px solid #d0cdc4;
}

input[type=checkbox],input[type=radio]{
    border:1px solid #e5e5e5;
    padding:2px 5px;
}

code{
    background:#f0ffe1;
    border:1px dashed #d5f1b9;
    padding:2px 4px;
    font-family:"Monaco","Courier New";
}
code a:hover{background:transparent}

table{
    margin:10px 0px;
    border:1px solid #E6E6E6;
    background-color:#FFFFFF;   
}

tbody tr:hover td,tbody tr:hover th{
    background:#edf4ff
}

thead th, thead td {
    text-align:center;
    vertical-align:middle;
    font-weight:bold;
    white-space:nowrap;
    background:#34495e;
    color:#FFFFFF;  
    padding-right:10px;
}
thead th acronym, thead td acronym, thead th sup, thead td sup{
    color:#CCDDFF;
}

th,td{
    border:1px solid rgba(233,233,233,.3);
    padding:3px 6px;
    vertical-align:top; 
}

th a {
    font-weight:bold;
    padding-bottom:0px;
    text-shadow:1px 1px 1px #FFF;
}

th {
    background:white;
}

tr.odd td {
    background:#fcfaf5;
}

#content tbody tr.checked td, tr.checked.odd td {
    background:#fbe2e2;
    color:red;
}

.hidden{
    display:none
}

.error,.message{
    padding:0px;
    background:transparent;
    font-weight:bold
}

.error{
    color:#c00
}

.message{
    color:#090
}

#content{
    margin:0px 0px 0px 320px;
    padding:50px 20px 40px 0px;
    height:100%;
}

#lang {
    background:#ecf0f1;
    color:#808080;
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    padding:10px 20px;
    z-index:1;
}

#breadcrumb {
    position:fixed;
    top:0px;
    left:300px;
    background:#48A5BF;
    z-index:2;
    width:100%;
    color:#ecf0f1;
    padding:10px;
    font-size:15px;
    font-weight:bold;
}
#breadcrumb a{
    color:#ecf0f1;
    font-size:15px;
    font-weight:bold;
}

#menu {
    background:#34495e;
    position:fixed;
    top:-10px;
    color:#FFF;
    padding:20px;
    padding-top:40px;
    bottom:0px;
    overflow:auto;
    left:0px;
    width:240px;
    border-right:2px solid #34495e;
}

#menu p{
    border-bottom:1px solid rgb(85, 112, 139);
}

#menu a{
    color:#FFF;
}

#schema .table {
    padding:5px;
    background:#fcfaf5;
    border:1px solid #d0cdc4;
}

#schema .table b {
    color:#006aeb;
    font-weight:bold;
    text-decoration:underline;
}

#schema .table b:hover {
    color:white;
}

input[name=logout] {
    color:#fce2e2;
    background:#d73e3e;
}

input[name=drop] {
    background-color:#c0392b;
}

input[name=logout]:hover {
    background:#ea0202;
}

#logins a, #tables a { 
    background:none;
}

#logins a:hover, #tables a:hover { 
    
}

#logout {
    color:#FFF;
    text-decoration:none;
}

#logout:hover {
    color:red;  
}

.js .column {
    background:#ecf0f1;
}

#content table thead a.text:hover {
    text-decoration:none;
}

#version, .version {
    font-size:50%;
}

#h1:hover {
    color:white;
}


input[type=submit] {
    font-size:13px; 
    font-weight:normal;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
    border-radius:1px;
    border:0px solid #469df5;
    padding:4px 12px;
    text-decoration:none;   
    background-color:#65ADC3;
    color:#ffffff;
    display:inline-block;
    text-shadow:0px 01px 0px #287ace;
    -webkit-box-shadow:inset 0px 0px 0px 0px #cae3fc;
    -moz-box-shadow:inset 0px 0px 0px 0px #cae3fc;
    box-shadow:inset 0px 0px 0px 0px #cae3fc;
}
input[type=submit]:hover {  
    background-color:#34495e;
    text-shadow:0px 1px 0px #000;
}
input[type=submit]:active {
    position:relative;
    top:1px;
}


table
{
  position: relative;
}
table:before, table:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
table:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}


/* ==================add by warlee==================*/


#lang {
    top: 0;
    left: 170px;
    z-index: 10;
    color: #485b6e;
    width: 50px;
    background: rgba(0, 0, 0, 0);
}
#lang select{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 13px;
    color: #677d8e;
    width: 100%;
    background: #4e6175;
    border: none;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0);
}

#menu {
    top:-23px;padding:0;    
    bottom: 0;
    width: 272px;
    border-right:none;
}
#menu h1{
    padding: 16px 0px 6px 28px;
    border-bottom: 1px solid #465a6f;
    background: #3f576f;
    border: none;
}
#menu h1:before {
    content: "Adminer ";
    line-height: 40px;
    color: #fff;
    font-style: italic;
}
#menu h1 a {
    display: none;
}
#menu h1 #h1{
    font-size:24px;
}
.version {color: #677d8e;font-size:14px;}
#breadcrumb {left: 290px;padding-left: 20px;}
#breadcrumb a {
    color: #ecf0f1;
    font-size: 15px;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    padding-bottom: 4px;
    margin: 0 5px;
}
#breadcrumb a:hover{
    color: #FFEB3B;
    border-color: #FFEB3B;
}

#menu #logins{
    padding: 15px 0;
}
#menu #logins a{
    background: none;
    padding: 4px 10px;
    display: block;
    text-decoration:none;
    color: #b3d3f3;
}
#menu #logins a:hover{
    background:#3f576f;
}
#menu #logins br{display:none;}


p#dbs {padding-left: 21px;}
#content {
    margin: 0px 0px 0px 295px;
}
.links a{margin-right: 10px;}
#menu p {    
    padding: 15px 0px 15px 20px;
    border-bottom: 1px solid #41566b;
}
#menu #dbs{
    margin: 10px;
    margin-bottom: -1px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: none;
    background: #527290;
    color: #3c5165;
}
#menu #dbs span{display:none;}
#menu select{
    background-color: #456079;
    border: none;
    color: #fff;
    border-radius: 4px;
    width: 227px;
    position: absolute;
    left: 21px;
    height: 23px;
    line-height: 23px;
}
#menu select:hover{background-color:#31475f;}

#menu .links{
    padding-bottom: 5px;
    border: none;
    border-top: 1px solid #445f77;
    background: #445f77;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin: 0 10px;
    padding: 0;
    text-align: center;
    display: table;
    width: 252px;
    overflow: hidden;
}
#menu .links a {
    padding: 6px 1px;
    margin: 0;
    display: table-cell;
    font-size: 12px;
    text-decoration: none;
    color: #b3d3f3;
}
#menu .links a:hover{background: #507394;}
#menu .links a:active{background: #5f83a5;}

#menu #tables{
    margin: 0 -15px !important;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    top: 170px;
    overflow-y: auto !important;
}

a,input,button{transition:all .168s;}
.pages {
    left: 290px;
    bottom: 5px;
    background: #feffff;
    color: #666;
    border-color: #acc6ce;
}
.pages a{
    display: inline-block;
    padding: 2px 6px;
    color:#48A5BF;
}
.pages a:hover{
    color:#fff;
    text-decoration: none;
    background: #48A5BF;
}

#ajaxstatus + .links{
    /*border-bottom:1px solid #ccc;*/
}
#ajaxstatus + .links a {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 4px 1.5em;
    border-radius:0px;
    font-weight: bold;
    color: #555;
    letter-spacing: 1px;
    text-decoration:none;
    margin-right: -5px;
    margin-bottom: -1px;
    background: #f3f3f3;
}
#ajaxstatus + .links a.active,
#ajaxstatus + .links a:hover {
    background: #48a5bf;
    color: #fff;
    border: 1px solid #48a5bf;
}
#ajaxstatus + .links a.active + a{border-left-color:#48a5bf;}
textarea:focus,pre:focus,input:focus {
    border-color: #75a1f0;
    outline: none;
    box-shadow: 0 0 4px #75a1f0;
}

#menu p#tables{padding:0;margin-top: 10px;border:none;}
#tables a[title] {
    float: none;
    display: block;
    color: #b9cbdc;
    z-index: 1;
}
#tables a[title]:hover,
#tables a.active, 
#tables a.select:hover + a, 
#tables a.select.active + a {
    background-color: #3c536b;
    font-weight: normal;
}
#tables br {display: none;}
#tables a {
    float: right;
    text-decoration: none;
    padding: 5px 16px;
    line-height: 17px;
    color: #48a5bf;
    font-size: 13px;
    position: relative;
    z-index: 999;
}
#tables a.select:hover {
    color:#FFC107;background:#425b75;
}
#schema .table a b:hover{color:#f30;}


select, input[type=file]{
    height: 27px;line-height: 27px;
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    padding: 0;
    padding-left: 10px;
    outline: none;
}
select:hover{background: #ddd;}


thead th, thead td{position:relative;}
.js .column {
    position: absolute;
    padding: 0;
    z-index: 9;
    left: 0px;
    top: 30px;
    background: #fff;
    min-width: 60px;
    width: 100%;
    border: 1px solid #48a5bf;
    border-top:none;
}
.js .column a {
    text-align: center;
    color: #fff;
    font-weight: bold;
    background:#48A5BF;
    display: inline-block;
    float: left;
    height: 25px;
    line-height: 25px;
    width: 50%;
    padding: 0;
    border:none;
    font-size: 15px;
    font-weight: normal;
}
.js .column a:hover{
    background:#34495e !important;
    color:#fff !important;
}

input:not([type]), input[type="color"], 
input[type="email"], 
input[type="number"], 
input[type="password"], 
input[type="tel"],
input[type="url"], 
input[type="text"], 
input[type="search"] {
    padding: 5px 5px;
    height: 27px;
    border-radius: 3px;
    margin: 0 4px;
    box-sizing: border-box;
}
input[type="radio"] {
    border: none;
    display: inline-block;
    margin: 5px;
}
table input[type="radio"]{margin:0;}
input[type=checkbox], input[type=radio] {
    width: 14px;
    height: 14px;
}

input[type=submit] {
    padding: 6px 14px;
    border-radius:3px;
}
label { margin: 0 8px;}
thead td, thead th{color:#fff;}

#content tbody tr.checked td, tr.checked.odd td {
    background: #c8edff;
    color: #03A9F4;
}
pre, textarea {
    font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    background:#fff;
}
.size {width: 9ex;}
#help {
    border: 1px solid #ffd149;
    background: #fdedbc;
    padding: 4px 8px;
    color: #888;
    border-radius: 2px;
}
#help a.jush-help{
    color: #bb7103;
}

#schema + .links a{
    position: fixed;
    top: 66px;
    right: 10px;
    padding: 4px 8px;
    background: #48a5bf;
    color: #fff;
}


input[type=image]{border:none;}
h2, h3 {
    font-size: 1.5em;
    padding: 15px 0 0 0;
    margin: 0px;
    border-bottom: 1px solid #ddd;
}
.icon {
    width: 23px;
    height: 23px;
    background-color: #48a5bf;
}
.logout {
    z-index: 999;
    position: fixed;
}

.js .checkable .checked td, 
.js .checkable .checked th {
    background: #2196f3;
}
.footer > div{padding-left:10px;}